#! /bin/bash

#if grep -E "^[a-zA-Z0-9][a-zA-Z0-9._%+-]*@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$" $1
if grep -E "^([1-6][1-7]|0[1-9]|[1-2][0-9]|3[0-1])((19|20)\d{2})(0[1-9]|1[0-2])([0-9]{3})([0-9Xx])$" $1 
then
    echo "Match!"
else
    echo "Not Match!"
fi

exit 0
